<!DOCTYPE html>
<html>
<head>
  <meta charset="utf-8">
  <title>运营商应用管理</title>
  <meta name="renderer" content="webkit">
  <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
  <meta name="viewport" content="width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=0">
  #parse('/headFiles.html')
</head>
<body>
<div class="layui-fluid">
  <div class="layui-form" wid100>
    <input type="hidden" name="id" value="$!{id}"/>
    #if($id)
    <div class="layui-form-item">
      <label class="layui-form-label">应用ID</label>
      <div class="layui-input-block">
        <div class="layui-form-mid layui-word-aux">$!{id}</div>
      </div>
    </div>
    #end
    <div class="layui-form-item">
      <label class="layui-form-label">商城应用名称</label>
      <div class="layui-input-block">
        <input type="text" name="name" lay-verify="required" placeholder="请输入应用名称" autocomplete="off" class="layui-input" value="$!{name}">
      </div>
    </div>
	<div class="layui-form-item">
      <label class="layui-form-label">应用类型</label>
      <div class="layui-input-block">
        <select name="appType" lay-verify="required">
          #foreach($item in $appTypeList)
          <option value="$!{item.index()}" $!{utils.eq($item.index(),$appType,'selected')}>$!{item.note()}</option>
          #end
        </select>
      </div>
    </div>
	<div class="layui-form-item">
      <label class="layui-form-label">应用ID</label>
      <div class="layui-input-block">
        <input type="text" name="appId" lay-verify="required" placeholder="请输入应用ID" autocomplete="off" class="layui-input" value="$!{appId}">
      </div>
    </div>
	<div class="layui-form-item">
      <label class="layui-form-label">安全手机</label>
      <div class="layui-input-block">
        <input type="text" name="phone" lay-verify="required" placeholder="请输入安全手机" autocomplete="off" class="layui-input" value="$!{phone}">
      </div>
    </div>
    <div class="layui-form-item layui-hide">
      <input type="button" lay-submit lay-filter="LAY-form-submit" id="LAY-form-submit" value="确认">
    </div>
  </div>
</div>
  #parse('/footFiles.html')
  <script>
  layui.config({
    base: '$!{webRoot}/layuiadmin/' //静态资源所在路径
    ,webRoot:'$!{webRoot}'
  }).extend({
    index: 'lib/index' //主入口模块
  }).use(['index', 'form'])
  </script>
</body>
</html>